package com.xm;

public class EmployeeTest {
    public static void main(String[] args) {
        Employee empOne = new Employee("RUN1");
        Employee empTwo = new Employee("RUN2");

        empOne.setAge(20);
        empOne.setDesignation("菜鸟程序员");
        empOne.setSalary(500);
        empOne.printEmployee();

        System.out.println("---华丽的分割线---");
        empTwo.setAge(25);
        empTwo.setDesignation("中级程序员");
        empTwo.setSalary(1000);
        empTwo.printEmployee();
    }
}
